package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 售后订单退款表DTO
 *
 * @author YUE
 * @Date 2020-08-20 11:33:47
 */
@Data
@TableName("order_return_commodity_refund")
@ApiModel(value="售后订单退款表对象", description="售后订单退款表对象")
public class OrderReturnCommodityRefundDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;

    @ApiModelProperty(value = "支付id")
    private Long payOrderRepayId;
    @ApiModelProperty(value = "类型 0余额、1网银")
    private Integer payType;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty("退款订单id")
    private Long refundOrderId;
    @ApiModelProperty("退款金额")
    private BigDecimal repayMoney;
    @ApiModelProperty(value = "金额类型 0解冻退款、1退款")
    private Integer moneyType;
    @ApiModelProperty(value = "支付用户id")
    private Long payUserId;
    @ApiModelProperty(value = "收款用户id")
    private Long recvUserId;

    @ApiModelProperty(value = "退款状态 0 未退款 1 退款中 2 已退款 3 退款失败")
    private Integer refundStatus;
    @ApiModelProperty(value = "中金流水号")
    private String zjBusinessId;
}